#-----------------------------------------
# Makefile for compiling the test of DList
#
# Note: You can check out all sources as eclipse cpp project
#       over http://stuff-from-hell.googlecode.com/svn/trunk/cpp_ex
#
# author: Benjamin Friedrich (3453465)
#         benjamin_friedrich@gmx.de
#
# version: 1.0  17.01.2009
#-----------------------------------------

CXXFLAGS   = -O2 -g -Wall -ansi -pedantic
LIBS       = -lcppunit
TARGET     = dlist_test

all:
	g++ ${CXXFLAGS } ${LIBS} DList.cpp DListTest.cpp main.cpp -o dlist_test
	
main: DList.o DListTest.o main.o
	g++ ${CXXFLAGS } ${LIBS} DList.o DListTest.o main.o -o ${TARGET}

main.o: DList.o DListTest.o

DList.o: DList.cpp DList.hpp

DListTest.o: DListTest.cpp DListTest.hpp


clean:
	rm -f $(TARGET) DList.o DListTest.o main.o